home *** CD-ROM | disk | FTP | other *** search
- Q32020 Segment Violation
- C Compiler
- 5.10
- MS-DOS
-
- Summary:
- When the program below is compiled with /AL /Oal, it loads an
- uninitialized local variable into es:di. This results in a segment
- violation under OS/2.
-
- More Information:
- The program is as follows:
-
- static void reloc(codebase, oploc, opcode)
- short *codebase;
- int oploc;
- int opcode;
- {
- short nextop;
- while (oploc >= 0)
- {
- nextop = codebase[oploc];
- codebase[oploc] = opcode;
- oploc = nextop;
- }
- }
-
- Microsoft has confirmed this to be a problem in Version 5.10 of the
- C Compiler. Microsoft is researching this problem and will post new
- information as it becomes available.
-
- Keywords: Segment Violation OS/2 buglist5.10
- Updated 88/07/21 03:19
-